﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Thi_nghiem_nen_ket_co_thong_tin.ascx.cs" Inherits="Thi_nghiem_nen_ket_co_thong_tin.WebUserControl1" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridLookup" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>
<%@ Register src="Bieu_do_thi_nghiem.ascx" tagname="Bieu_do_thi_nghiem" tagprefix="uc1" %>

<%@ Register src="Ket_qua_thi_nghiem.ascx" tagname="Ket_qua_thi_nghiem" tagprefix="uc2" %>

<%@ Register src="Cv_P_and_Kv_e.ascx" tagname="Cv_P_and_Kv_e" tagprefix="uc3" %>

<%@ Register src="Bieu_do_log_cuoi_thi_nghiem.ascx" tagname="Bieu_do_log_cuoi_thi_nghiem" tagprefix="uc4" %>

<style type="text/css">
    .auto-style1 {
    }
    .auto-style7 {
        width: 40px;
    }
    .auto-style8 {
        width: 42px;
    }
    .auto-style12 {
        width: 66px;
    }
    .auto-style14 {
    }
    .auto-style16 {
    }
    .auto-style17 {
        width: 175px;
    }
    .auto-style18 {
        width: 47px;
    }
    .auto-style19 {
        width: 241px;
    }
    .auto-style22 {
        width: 142px;
    }
    .auto-style23 {
        width: 191px;
    }
    .auto-style24 {
        width: 292px;
    }
    .auto-style25 {
        width: 78px;
    }
    .auto-style26 {
        width: 93px;
    }
    .auto-style27 {
        width: 144px;
    }
    .auto-style28 {
        width: 51px;
    }
</style>
<table style="width:100%;">
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label1" runat="server" Text="Công Trình - Project"></asp:Label>
        </td>
        <td colspan="3">
            <dx:ASPxGridLookup ID="txt_cong_trinh" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxGridLookup>
        </td>
    </tr>
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label2" runat="server" Text="Hạng mục - Item"></asp:Label>
        </td>
        <td colspan="3">
            <dx:ASPxGridLookup ID="txt_hang_muc" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxGridLookup>
        </td>
    </tr>
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label3" runat="server" Text="Địa điểm - Location"></asp:Label>
        </td>
        <td colspan="3">
            <dx:ASPxGridLookup ID="txt_dia_diem" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxGridLookup>
        </td>
    </tr>
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label4" runat="server" Text="Số HĐ hoặc YCTN-Contract or Request"></asp:Label>
        </td>
        <td colspan="3">
            <dx:ASPxGridLookup ID="txt_so_hop_dong" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxGridLookup>
        </td>
    </tr>
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label5" runat="server" Text="Số mẫu TN - Lab No:"></asp:Label>
        </td>
        <td class="auto-style1">
            <dx:ASPxTextBox ID="txt_so_mau" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxTextBox>
        </td>
        <td class="auto-style23">
            <asp:Label ID="Label8" runat="server" Text="Số hiệu mẫu - Sample No:"></asp:Label>
        </td>
        <td>
            <dx:ASPxTextBox ID="txt_so_hieu" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label6" runat="server" Text="Lỗ Khoan - Borehole No:"></asp:Label>
        </td>
        <td class="auto-style1">
            <dx:ASPxTextBox ID="txt_lo_khoan" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxTextBox>
        </td>
        <td class="auto-style23">
            <asp:Label ID="Label9" runat="server" Text="Độ sâu - Sample depth (m):"></asp:Label>
        </td>
        <td>
            <dx:ASPxSpinEdit ID="txt_do_sau" runat="server" Number="0" Width="100%" TabIndex="1" />
        </td>
    </tr>
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label7" runat="server" Text="Số cấp áp lực"></asp:Label>
        </td>
        <td class="auto-style1">
            <dx:ASPxSpinEdit ID="txt_so_cap_ap_luc" runat="server" Number="7" NumberType="Integer" Width="100%" AutoPostBack="True" OnValueChanged="txt_so_cap_ap_luc_ValueChanged" TabIndex="1" />
        </td>
        <td class="auto-style23">
            <asp:Label ID="Label10" runat="server" Text="Ngày thí nghiêm - Date:"></asp:Label>
        </td>
        <td>
            <dx:ASPxDateEdit ID="txt_ngay_th" runat="server" Width="100%" TabIndex="1">
            </dx:ASPxDateEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style24">
            <asp:Label ID="Label11" runat="server" Text="Mô tả đất - soil description:"></asp:Label>
        </td>
        <td class="auto-style1" colspan="3">
            <dx:ASPxMemo ID="txt_mo_ta_dat" EnableClientSideAPI="True" ClientInstanceName="txt_mo_ta_dat" runat="server" Height="71px" Width="100%">

            </dx:ASPxMemo>
        </td>
    </tr>
</table>
<table style="width:100%;">
    <tr>
        <td class="auto-style27">&nbsp;</td>
        <td class="auto-style18">&nbsp;</td>
        <td class="auto-style7">&nbsp;</td>
        <td class="auto-style8">&nbsp;</td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">&nbsp;</td>
        <td class="auto-style28">&nbsp;</td>
        <td class="auto-style12">&nbsp;</td>
        <td class="auto-style26">&nbsp;</td>
    </tr>
   <tr>
        <td class="auto-style27">
            <asp:Label ID="Label12" runat="server" Text="Độ ẩm"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label23" runat="server" Text="W0"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label33" runat="server" Text="%"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_do_am_bef" EnableClientSideAPI="True" ClientInstanceName="txt_do_am_befs" runat="server" Width="125px" TabIndex="1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label45" runat="server" Text="Độ ẩm"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label56" runat="server" Text="W0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label67" runat="server" Text="%"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_do_am_aft" ClientInstanceName="txt_do_am_aft" runat="server" Width="125px" TabIndex="2"  >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label13" runat="server" Text="Tỷ trọng"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label24" runat="server" Text="ps"></asp:Label>
        </td>
        <td class="auto-style7">
            &nbsp;</td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_ty_trong_bef" runat="server" Width="125px" ClientInstanceName="txt_ty_trong_bef" EnableClientSideAPI="True" TabIndex="1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
                <ClientSideEvents NumberChanged="function(s, e) {
	txt_ty_trong_aft.SetText(txt_ty_trong_bef.GetText());
}" />
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label46" runat="server" Text="Tỷ trọng"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label57" runat="server" Text="ps"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label68" runat="server"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_ty_trong_aft" runat="server" Width="125px" ClientInstanceName="txt_ty_trong_aft" EnableClientSideAPI="True" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label14" runat="server" Text="Dung trọng ướt"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label25" runat="server" Text="p"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label35" runat="server" Text="g/cm3"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_dung_trong_uot_bef" ClientInstanceName="txt_dung_trong_uot_bef" runat="server" Width="125px" TabIndex="1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label47" runat="server" Text="Dung trọng ướt"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label58" runat="server" Text="p"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label69" runat="server" Text="g/cm3"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_dung_trong_uot_aft" ClientInstanceName="txt_dung_trong_uot_aft" runat="server" Width="125px" TabIndex="2" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label15" runat="server" Text="Chiều cao mẫu"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label26" runat="server" Text="H0"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label36" runat="server" Text="cm"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_chieu_cao_mau_bef" ClientInstanceName="txt_chieu_cao_mau_bef" runat="server" Width="125px" TabIndex="1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label48" runat="server" Text="Chiều cao mẫu"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label59" runat="server" Text="H0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label70" runat="server" Text="cm"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_chieu_cao_mau_aft" ClientInstanceName="txt_chieu_cao_mau_aft" runat="server" Width="125px" TabIndex="2" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label16" runat="server" Text="Đường kính mẫu"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label27" runat="server" Text="D0"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label37" runat="server" Text="cm"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_duong_kinh_mau_bef" runat="server" Width="125px" ClientInstanceName="txt_duong_kinh_mau_bef" EnableClientSideAPI="True" TabIndex="1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
                <ClientSideEvents NumberChanged="function(s, e) {
	txt_duong_kinh_mau_aft.SetText(txt_duong_kinh_mau_bef.GetText());
}" />
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label49" runat="server" Text="Đường kính mẫu"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label60" runat="server" Text="D0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label71" runat="server" Text="cm"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_duong_kinh_mau_aft" runat="server" Width="125px" ClientInstanceName="txt_duong_kinh_mau_aft" EnableClientSideAPI="True" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label17" runat="server" Text="Diện tích"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label28" runat="server" Text="A0"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label38" runat="server" Text="cm2"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_dien_tich_bef" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label50" runat="server" Text="Diện tích"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label61" runat="server" Text="A0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label72" runat="server" Text="cm2"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_dien_tich_aft" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label18" runat="server" Text="Thể tích mẫu"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label29" runat="server" Text="V0"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label39" runat="server" Text="cm3"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_the_tich_mau_bef" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label51" runat="server" Text="Thể tích mẫu"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label62" runat="server" Text="V0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label73" runat="server" Text="cm3"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_the_tich_mau_aft" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label19" runat="server" Text="Khối lượng mẫu"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label30" runat="server" Text="M0"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label40" runat="server" Text="g"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_khoi_luon_mau_bef" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label52" runat="server" Text="Khối lượng mẫu"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label63" runat="server" Text="M0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label74" runat="server" Text="g"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_khoi_luong_mau_aft" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label20" runat="server" Text="Dung tích khô"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label31" runat="server" Text="pd"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label75" runat="server" Text="g"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_dung_trong_kho_bef" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label53" runat="server" Text="Dung tích khô"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label64" runat="server" Text="pd"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label76" runat="server" Text="g"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_dung_trong_kho_aft" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label21" runat="server" Text="Độ bão hòa"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label32" runat="server" Text="G0"></asp:Label>
        </td>
        <td class="auto-style7">
            <asp:Label ID="Label42" runat="server" Text="%"></asp:Label>
        </td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_do_bao_hoa_bef" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label54" runat="server" Text="Độ bão hòa"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label65" runat="server" Text="G0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label77" runat="server" Text="%"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_do_bao_hoa_aft" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Label ID="Label22" runat="server" Text="Hệ số rỗng"></asp:Label>
        </td>
        <td class="auto-style18">
            <asp:Label ID="Label43" runat="server" Text="e0"></asp:Label>
        </td>
        <td class="auto-style7">
            &nbsp;</td>
        <td class="auto-style8">
            <dx:ASPxSpinEdit ID="txt_he_so_rong_bef" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
        <td class="auto-style25">&nbsp;</td>
        <td class="auto-style22">
            <asp:Label ID="Label55" runat="server" Text="Hệ số rỗng"></asp:Label>
        </td>
        <td class="auto-style28">
            <asp:Label ID="Label66" runat="server" Text="e0"></asp:Label>
        </td>
        <td class="auto-style12">
            <asp:Label ID="Label78" runat="server"></asp:Label>
        </td>
        <td class="auto-style26">
            <dx:ASPxSpinEdit ID="txt_he_so_rong_aft" runat="server" Width="125px" BackColor="#33CCCC" ReadOnly="True" TabIndex="-1" >
                <SpinButtons Enabled="False">
                </SpinButtons>
            </dx:ASPxSpinEdit>
        </td>
    </tr>
    <tr>
        <td class="auto-style27">
            <asp:Button ID="btCalCulate" runat="server" OnClick="btCalCulate_Click" Text="Tính toán" Width="100px" TabIndex="3" />
        </td>
        <td colspan="3">
            <asp:Button ID="btReset" runat="server" OnClick="btReset_Click" Text="Xóa toàn bộ" Width="100px" TabIndex="4" />
        </td>
        <td class="auto-style14" colspan="2">
            <asp:Button ID="btShowResult" runat="server" OnClick="btShowResult_Click" Text="Kết quả thí nghiệm" Width="132px" TabIndex="5" />
        </td>
        <td class="auto-style28">
            &nbsp;</td>
        <td class="auto-style12">
            &nbsp;</td>
        <td class="auto-style26">
            &nbsp;</td>
    </tr>
</table>

<table style="width:100%;">
    <tr>
        <td class="auto-style19">&nbsp;</td>
        <td class="auto-style17">&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td class="auto-style19">
            <asp:Label ID="Label79" runat="server" Text="Nhập số liệu cho từng cấp áp lực"></asp:Label>
        </td>
        <td class="auto-style17">
            <dx:ASPxComboBox ID="cm_cap_ap_luc" runat="server" AutoPostBack="True" OnSelectedIndexChanged="cm_cap_ap_luc_SelectedIndexChanged" ValueType="System.String" TabIndex="6">
            </dx:ASPxComboBox>
        </td>
        <td>
            <asp:Label ID="lblCapApLucErr" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="auto-style19">
            <asp:Label ID="Label80" runat="server" Text="Lấy dữ liệu từ cảm biến"></asp:Label>
        </td>
        <td class="auto-style17">&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td class="auto-style16" colspan="3">
            &nbsp;</td>
    </tr>
     <script>
         var itemsLeft = ["ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_do_am_bef_I",
             "ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_ty_trong_bef_I",
             "ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_dung_trong_uot_bef_I",
             "ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_chieu_cao_mau_bef_I",
             "ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_duong_kinh_mau_bef_I"];
         var itemsRight = ["ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_do_am_aft_I",
         "ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_dung_trong_uot_aft_I",
             "ContentPlaceHolder1_Thi_nghiem_nen_ket_co_thong_tin1_txt_chieu_cao_mau_aft_I"];

         var lLeft = [txt_do_am_befs, txt_ty_trong_bef, txt_dung_trong_uot_bef, txt_chieu_cao_mau_bef, txt_duong_kinh_mau_bef];
         var lRigh = [txt_do_am_aft, txt_dung_trong_uot_aft, txt_chieu_cao_mau_aft];
         
         function SetValueRight(txtStr1,index1) {
            
             var tabString = String.fromCharCode(9);
             var endString = String.fromCharCode(13);
             var enterString = String.fromCharCode(10);
             var str = txtStr1.replace(endString, '').split(enterString);
             var j = index1;
             for (var i = 0; i < str.length - 1; i++, j++) {
                 if (j < 3) {
                     var value = str[i].split(tabString);
                     lRigh[j].SetValue(value[0]);
                     lRigh[j].SetText(value[0]);
                     lLeft[j].SetNumber(value[0]);
                 }
             }
         }

         function SetValue(txtStr,index) {
              var tabString = String.fromCharCode(9);
              var endString = String.fromCharCode(13);
             var enterString = String.fromCharCode(10);
              var str = txtStr.replace(endString, '').split(enterString);
              var j = index;
             // alert(str.length);
             for (var i = 0; i < str.length-1; i++,j++) {
                 if (j < 5) {
                     var value = str[i].split(tabString);
                     lLeft[j].SetValue(value[0]);
                     lLeft[j].SetText(value[0]);
                     lLeft[j].SetNumber(value[0]);
                     if (j == 1) {
                         txt_ty_trong_aft.SetValue(value[0]);
                         txt_ty_trong_aft.SetText(value[0]);
                         txt_ty_trong_aft.SetNumber(value[0]);
                     }
                     else if (j == 4) {
                         txt_duong_kinh_mau_aft.SetValue(value[0]);
                         txt_duong_kinh_mau_aft.SetText(value[0]);
                         txt_duong_kinh_mau_aft.SetNumber(value[0]);
                     }
                 }
             }      
         }

         function PasteIndex0(evt) {
             evt.preventDefault();
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValue(clipText, 0);
         }
         function PasteIndex1(evt) {
             evt.preventDefault();  
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValue(clipText, 1);
         }
         function PasteIndex2(evt) {
             evt.preventDefault();  
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValue(clipText, 2);
         }
         function PasteIndex3(evt) {
             evt.preventDefault();  
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValue(clipText, 3);
         }
         function PasteIndex4(evt) {
             evt.preventDefault();  
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValue(clipText, 4);
         }
         
         function PasteIndex5(evt) {
             evt.preventDefault();
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValueRight(clipText, 0);
         }
         function PasteIndex6(evt) {
             evt.preventDefault();
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValueRight(clipText, 1);
         }
         function PasteIndex7(evt) {
             evt.preventDefault();
             var clipText = "";
             var ua = window.navigator.userAgent;
             var msie = ua.indexOf("Trident");
             if (msie > 0) {
                 clipText = window.clipboardData.getData('Text');
             }
             else {
                 clipText = evt.clipboardData.getData('Text');
             }

             SetValueRight(clipText, 2);
         }
         document.getElementById(itemsLeft[0]).addEventListener("paste", PasteIndex0, false);
         document.getElementById(itemsLeft[1]).addEventListener("paste", PasteIndex1, false);
         document.getElementById(itemsLeft[2]).addEventListener("paste", PasteIndex2, false);
         document.getElementById(itemsLeft[3]).addEventListener("paste", PasteIndex3, false);
         document.getElementById(itemsLeft[4]).addEventListener("paste", PasteIndex4, false);
         
         document.getElementById(itemsRight[0]).addEventListener("paste", PasteIndex5, false);
         document.getElementById(itemsRight[1]).addEventListener("paste", PasteIndex6, false);
         document.getElementById(itemsRight[2]).addEventListener("paste", PasteIndex7, false);
     </script>
</table>


<dx:ASPxPopupControl ID="pupBieuDoThiNghiem" runat="server" CloseAction="CloseButton" Height="150px" MinHeight="400px" Width="700px" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter">
    <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <uc1:Bieu_do_thi_nghiem ID="Bieu_do_thi_nghiem1" runat="server" />
        </dx:PopupControlContentControl>
</ContentCollection>
</dx:ASPxPopupControl>



<dx:ASPxPopupControl ID="pupKqThiNghiem" runat="server" CloseAction="CloseButton" MinWidth="60%" Width="700px" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter">
    <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <uc2:Ket_qua_thi_nghiem ID="Ket_qua_thi_nghiem1" runat="server" />
        </dx:PopupControlContentControl>
</ContentCollection>
</dx:ASPxPopupControl>




<dx:ASPxPopupControl ID="pupCvpEv" runat="server" CloseAction="CloseButton" MinWidth="90%" Width="700px" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter">
    <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <uc3:Cv_P_and_Kv_e ID="Cv_P_and_Kv_e1" runat="server" />
        </dx:PopupControlContentControl>
</ContentCollection>
</dx:ASPxPopupControl>




<dx:ASPxPopupControl ID="pupBdLogTn" runat="server" CloseAction="CloseButton" MinWidth="90%" Width="700px" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter">
    <ContentCollection>
<dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
    <uc4:Bieu_do_log_cuoi_thi_nghiem ID="Bieu_do_log_cuoi_thi_nghiem1" runat="server" />
        </dx:PopupControlContentControl>
</ContentCollection>
</dx:ASPxPopupControl>





